<template lang="html">
    <div class="">
        <div class="">
            com2
        </div>
        <div class="">
            <button type="button" name="button" @click="red">减少3</button>
        </div>
    </div>
</template>

<script>
import {
	mapMutations
} from 'vuex'
export default {
	methods: {
		...mapMutations([
			'reduce'
		]),
		red() {
			this.reduce(3);
		}
	}

}
</script>

<style lang="css">
</style>
